/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

/**
 *
 * @author dell
 */
public class user {
    private int id;
    private String username;
    private String nama;
    private int role;

    public user(){}

    public user(int id, String username, String nama, int role){
        this.id = id;
        this.username = username;
        this.nama = nama;
        this.role = role;
    }

    public int getId(){
        return id;
    }

    public void setId(int id){
        this.id = id;
    }

    public String getUsername(){
        return username;
    }

    public void setUsername(String username){
        this.username = username;
    }

    public String getNama(){
        return nama;
    }

    public void setNama(String nama){
        this.nama = nama;
    }

    public int getRole(){
        return role;
    }

    public void setRole(int role){
        this.role= role;
    }
}
